package cn.code.mycloud.module.system.controller.admin.grid.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.code.mycloud.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.code.mycloud.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 网格分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class GridPageReqVO extends PageParam {

    @Schema(description = "网格名称", example = "")
    private String name;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "省份ID", example = "")
    private Long provinceId;

    @Schema(description = "省份")
    private String provinceName;

    @Schema(description = "城市ID", example = "28177")
    private Long cityId;

    @Schema(description = "城市", example = "赵六")
    private String cityName;

}